package com.skeyedu.dao;

import com.skeyedu.pojo.Users;

import java.sql.SQLException;

/**
 * @Description 描述
 * @Author 羽落陌殇
 * @Date 2021/7/22 16:20
 * @Version 1.0.0
 */
public interface UserDao {
    // 用户注册
    public int createUser(Users users) throws SQLException;
    // 修改用户状态
    public int updateUserStatus(int status,  String id) throws SQLException;
    // 用户登录
    public Users getLoginUser(String username, String password) throws SQLException;
}
